home *** CD-ROM | disk | FTP | other *** search
-
- /* Generated by Interface Builder */
-
- #import <objc/Object.h>
-
- @interface Transmission:Object
- {
- int currentGear;
- float efficiency;
- float finalDriveRatio;
- float gearRatios[5];
- float mass;
- float shiftLag;
- float shiftPoints[4];
- float engineTorque;
- float motorTorque;
- BOOL shifting;
- float shiftTime;
- }
-
- // Override methods.
-
- - init;
- - read:(NXTypedStream *)stream;
- - write:(NXTypedStream *)stream;
-
- // This Class' methods
-
- - (int)currentGear;
- - setCurrentGear:(int)aNumber;
-
- - (float)efficiency;
- - setEfficiency:(float)aNumber;
-
- - (float)finalDriveRatio;
- - setFinalDriveRatio:(float)aNumber;
-
- - (float *)gearRatios;
- - setGearRatios:(float *)theRatios;
-
- - (float)mass;
- - setMass:(float)aNumber;
-
- - (float)shiftLag;
- - setShiftLag:(float)aNumber;
-
- - (float*)shiftPoints;
- - setShiftPoints:(float *)thePoints;
-
- - (float)inputSpeed;
- - engineInput:(float)torque;
- - motorInput:(float)torque;
-
- @end
-